﻿using Inovout.Membership.Domain;
using Inovout.Organization.Domain;

namespace Inovout.Organization.Membership.Domain
{
    partial class OrganizationMembership : Inovout.Membership.Domain.Membership
    {
        private OrganizationUnit organization;
        public virtual OrganizationUnit Organization
        {
            get { return this.organization; }
            set
            {
                this.organization = value;
                base.Name = this.organization.Name;
            }
        }
    }
}
